]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add appInfo.get_desktop_file_path method
authorSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Wed, 29 Jul 2009 21:36:48 +0000 (23:36 +0200)
committerSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Wed, 29 Jul 2009 21:40:23 +0000 (23:40 +0200)
Add shell_app_info_get_desktop_file_path, matching *_get_executable,
*_get_id, etc. This is useful for Zeitgeist.

src/shell-app-system.c
src/shell-app-system.h

index a7e884bafe1fcbe587bb8f181183e36ed0add417..a8910ca1e150a1df6059bd4ad36ed362b34bbc32 100644 (file)
@@ -622,6 +622,12 @@ shell_app_info_get_executable (ShellAppInfo *info)
   return gmenu_tree_entry_get_exec ((GMenuTreeEntry*)info);
 }
 
+const char *
+shell_app_info_get_desktop_file_path (ShellAppInfo *info)
+{
+  return gmenu_tree_entry_get_desktop_file_path ((GMenuTreeEntry*)info);
+}
+
 GIcon *
 shell_app_info_get_icon (ShellAppInfo *info)
 {
index 9735a9204bc52dc7b1a40e0ffa5bd3363033e79c..0ec6861fe775c67facab8aebefe5cc79965cf3f1 100644 (file)
@@ -57,6 +57,7 @@ const char *shell_app_info_get_id (ShellAppInfo *info);
 const char *shell_app_info_get_name (ShellAppInfo *info);
 const char *shell_app_info_get_description (ShellAppInfo *info);
 const char *shell_app_info_get_executable (ShellAppInfo *info);
+const char *shell_app_info_get_desktop_file_path (ShellAppInfo *info);
 GIcon *shell_app_info_get_icon (ShellAppInfo *info);
 ClutterActor *shell_app_info_create_icon_texture (ShellAppInfo *info, float size);
 GSList *shell_app_info_get_categories (ShellAppInfo *info);